﻿namespace NetPs.Socket
{
    using System;
    using System.Net;
    using System.Net.Sockets;

    public interface ISocketUri
    {
        /// <summary>
        /// 协议
        /// </summary>
        string Scheme { get; }
        /// <summary>
        /// 网络地址
        /// </summary>
        IPAddress IP { get; }
        /// <summary>
        /// 主机名
        /// </summary>
        string Host { get; }
        /// <summary>
        /// 端口
        /// </summary>
        int Port { get; }
        string ToString();
    }
}
